package com.jinke.api.modules.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author huang
 * @data 2024-04-26
 */
@Data
@TableName("order_task_detail")
@ApiModel(value = "order_task_detail对象", description = "订单定时任务详情")
public class OrderTaskDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单定时任务id
     */
    private Integer orderTaskId;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 渠道id
     */
    private Integer channelId;

    /**
     * 0 成功 1 失败
     */
    private Integer status;

    /**
     * 失败信息
     */
    private String message;

    /**
     * 是否操作 1 未操作 0 已经操作
     */
    private Integer operate;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
